package com.pkx.cloud.fse7.dms.openrecord.repo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.pkx.cloud.fse7.dms.openrecord.entity.OpenRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * Mapper 接口
 *
 * @author chenwg
 * @since 2020-10-14
 */
public interface OpenRecordMapper extends BaseMapper<OpenRecord> {

    Page pageList(Page page, @Param(value = "openRecord") OpenRecord openRecord);

    String getByRecordId(@Param("id") Long id);

    Map getByRecordAId(@Param("id") Long id);
}
